package com._13read.rss.service.impl;

import com._13read.rss.entity.RssSource;
import com._13read.rss.mapper.RssSourceMapper;
import com._13read.rss.model.MyPage;
import com._13read.rss.service.IRssSourceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * RSS Source 服务实现类
 * </p>
 *
 * @author 13read
 * @since 2018-12-06
 */
@Service
public class RssSourceServiceImpl extends ServiceImpl<RssSourceMapper, RssSource> implements IRssSourceService {

    @Override
    public RssSource bySource(String source) {
        return super.baseMapper.bySource(source);
    }

    @Override
    public MyPage<RssSource> all(MyPage page) {
        return super.baseMapper.all(page);
    }
}
